<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "" "">
<f:view xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core" xmlns:w="http://www.apusic.com/jsf/widget"
	xmlns:layout="http://www.apusic.com/jsf/layout" xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ajax="http://www.apusic.com/jsf/ajax" xmlns:om="http://www.apusic.com/jsf/misc"
	xmlns:c="http://java.sun.com/jstl/core" renderKitId="AJAX">
	<w:head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<w:stylesheet src="/css/kmp4.css" type="text/css"></w:stylesheet>
		<w:script src="/javascript/k4.js" type="text/javascript" language="UTF-8"></w:script>
		<om:elite>
			<![CDATA[
			define fullname="";
			define userId="";
			fullname=com.base.security.SecurityUserHolder.getCurrentUserFullName();
			userId=com.base.security.SecurityUserHolder.getCurrentUserId();
			]]>
		</om:elite>
	</w:head>
	<w:form>
		<layout:panelGrid border="0" columns="3" cellpadding="0" cellspacing="0"
			style="width:100%;background:none">
			<layout:cell valign="top" align="right"
				style="background:none;width:925px;height: 71px">
			<img src="#{facesContext.externalContext.requestContextPath}/images/mainbanner-right.png"
					border="0" align="left" width="925px" height="71px"></img>
			</layout:cell>
			<layout:cell valign="top" align="right" style="background:none repeat-y left top;width: 300px;">
				<layout:panelGrid columns="3" border="0" cellpadding="0" cellspacing="0">
					<h:outputText value="#{fullname}，欢迎您！" style="padding-left:5px;padding-right:5px;"></h:outputText>
					<w:button image="#{facesContext.externalContext.requestContextPath}/images/homesmall.gif"
						label="首页" id="gotohome" onclick="showMain();" />
					<w:button label="退出系统"
						image="#{facesContext.externalContext.requestContextPath}/images/close.gif"
						allowReEnter="false" immediate="true" alwaysSubmit="false"
						onclick="window.location.href='#{facesContext.externalContext.requestContextPath}/j_spring_security_logout'"
						style="color:#333;">
					</w:button>
				</layout:panelGrid>
			</layout:cell>

		</layout:panelGrid>
	</w:form>
</f:view>